import Service from '@/utils/request'


class UserService extends Service{
	//获取token
	getTokenByCode(code:string){
		return this.get({url:'/api/ucenter/webChat/callback',data:{code}})
	}
	getUserInfo(){
		return this.get({url:'/api/ucenter/member/auth/getLoginInfo'})
	}
}

export default new UserService()